package com.ruoyi.system.service;

import com.ruoyi.system.domain.Type;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface TypeService {
    List<Type> getAllTypeQuery();

    Type getTypeById(Long id);

    Type getTypeByName(String name);

    int saveType(Type type);

    int updateType(Type type);

    void deleteType(Long id);
    
}
